<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('图表组合')" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

	<div class="row">
		<div class="ibox">
			<div class="ibox-title">
				<h5>系统概况 </h5>
				<div class="ibox-tools">
				</div>
			</div>
			<div class="ibox-content">
				<h2>亲爱的 [[${user.loginName}]] [[${role.roleName}]] ，您好！欢迎使用 [[${companyName}]] 学员管理系统！</h2>
				<!--				<p>-->
				<!--					<a class="menuItem" href="/system/student" data-refresh="false" data-index="2">校内学员</a>-->
				<!--					<a class="btn btn-primary " href="$.modal.open(\"添加实训记录\", \"/system/student\")">&nbsp;校内学员管理 </a>-->
				<!--					<a class="btn btn-success " href="$.modal.open(\"添加实训记录\", \"/system/train_student\")\">&nbsp;实训学员管理 </a>-->
				<!--				</p>-->
			</div>
		</div>
	</div>

	<div class="row" shiro:hasAnyRoles="admin,boss">
		<div class="col-sm-3">
			<div class="ibox">
				<div class="ibox-content">
					<h5>在校人数</h5>
					<h1 class="no-margins">[[${@common.getStatData('student.count')}]]</h1>
				</div>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="ibox">
				<div class="ibox-content">
					<h5>实训人数</h5>
					<h1 class="no-margins">[[${@common.getStatData('train.count')}]]</h1>
				</div>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="ibox">
				<div class="ibox-content">
					<h5>分校数量</h5>
					<h1 class="no-margins">[[${@common.getStatData('dept.count')}]]</h1>
				</div>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="ibox">
				<div class="ibox-content">
					<h5>门店数量</h5>
					<h1 class="no-margins">[[${@common.getStatData('store.count')}]]</h1>
				</div>
			</div>
		</div>
	</div>

</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: peity-js" />
<th:block th:include="include :: sparkline-js" />
</body>
</html>